package com.hmxx.myblogproject.mapper;

import com.hmxx.myblogproject.entity.MyBlogUser;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Property;
import org.springframework.web.bind.annotation.PostMapping;

import java.util.List;

/**
 * @description:
 * @Author: {27106}
 * @Date: {2021/11/15 19:53}
 */
public interface MyBlogUserMapper {
    List<MyBlogUser> queryUserByIds(List<String> ids);

    MyBlogUser queryUserByNameAndPwd(@Param("username")String username,@Param("password")String password);

    int insertUserWithNameAndPwd(MyBlogUser myBlogUser);


    MyBlogUser queryUserById(String followedUserId);
}
